Dark Star, Seconds, and Outland are all excellent, sadly overlooked science fiction films that have aged like fine wine.
Free-floating planets could host moons with tidal heating and thick, hydrogen-rich atmospheres that may be able to create billions of years of potentially habitable surface conditions.