Etymology
Today it means: The ability to work confidently in space, or a zero-gravity environment. Full definition →
From space + legs, after sea legs.
Etymology from Wiktionary, CC BY-SA 4.0.