You've gotta be mixing up your shows. But you're not thinking of 'Firefly', are you? Except they weren't trying to get back to Earth, but that ship was always about to fall apart at the seams. And, of course, it's always worth bringing up - totally didn't get enough seasons!