I do believe that the lifestyle and the lack of pollution in the Shire has caused much to the advantage of the Hobbits' resilience when it comes to the ring and physical diseases.
If I may add so, I think that the simple and at some point "rustic" composition of the Shire has also shaped their morals, generally--Frodo and Sam and Bilbo, and also at some point Lobelia.