The Twilight Zone
Third from the Sun
S1 E14:
A scientist and a pilot steal a spaceship to escape the planet, which they believe will be obliterated by atomic warfare.
The Twilight Zone