Longevity and technology are transforming the way people retire