That's...not quite accurate (although for current technology and space transport capabilities a reasonable explanation).
Heat is exchanged by Radiation, Convection and Conduction. On Earth we use all three, in space only Radiation works so it's a lot less efficent, however while in an atmosphere...