Humans take a LONG time to come to maturity... a couple of decades to finish the whole trip. Given that, a couple of decades of life after one is no longer capable of bearing children makes perfect evolutionary sense.