@emigration2,
There are a lot more factors than that, and you should know that, both when it comes to life expectancy and quality of life, e. g. happiness. You can't smoke like a chimney in one of these long-life countries and expect to easily hit your 90s.