The Robinson family traveled aboard the Jupiter II, trying to find a way back to Earth on this show
... some episodes where they made it back to Earth, but only temporarily: ... 
where Dr. Smith ends up in 1997, just before the Jupiter 2 is launched.