Earth's ability to support lifeforms such as human beings is expected to end in the next 500 million to 2 billion years. Granted, that's several orders of magnitude longer than we've been around, but still - the sun will still be shining when humans go extinct, assuming we don't find another home planet and manage to get ourselves to it. It will be billions of years afterward that the sun will actually die.
Where do you need to be ?