Chell passes out from being in THE EMPTY FUCKING VACUUM OF SPACE for a few hours.
When you wake up, you are in a COMPLETELY DIFFERENT ROOM with GLaDOS.
By then, it's daytime.
and also what jim said, if you paid attention in the game you would know that aperture science is built inside an abandoned salt mine
/thread