Enhanced cellular longevity arising from environmental fluctuations