Ok, well, surviving beyond 1 billion years and various extinction level events, asteroids, comets, nuclear wars, are are the first priority, we'll worry about this later.
Perhaps we can set up a secret program where AI randomly selects individuals based on merit, character to get the latest in life extension treatments, philosophical and spiritual education so they can guide us (with AI assistence) into the future and beyond the solar system.
If we survive, 'we' most probably don't exist by that time in any recognisable shape or form.