Radiative heat transfer exists in space. In fact, it works quite well for cooling as long as you’re in the shade.