Research shows a link, but it isn’t retirement itself that leads to a longer life, but what you do in retirement.

https://www.nytimes.com/2018/01/29/upshot/early-retirement-longevity-health-wellness.html?nytapp=true