Long life for humans isn't under selection of the environment, since the increased length of life exceeds the reproductive window.Life expectancy in every species exceeds sexual maturity. Perhaps this should be clarified by adding that this hardly applies to tiny things or to any species that reproduces in extremely large numbers. I mean it to apply to major species and to individuals that survive their first year.
Obviously individuals must reach maturity or stage required to reproduce to have their genes passed on.
You asked the question.