Yǔhángyuán zài kōngjiānzhàn de cāngshì lǐ shēnghuó hé gōngzuò.
Astronauts live and work in the compartments of the space station.
Tips
usage
舱室 is a more technical or formal term for a compartment or cabin, often used in contexts involving ships, submarines, aircraft, or spacecraft. The everyday word for an airplane cabin is 客舱.