If there is no atmosphere, there is no atmospheric distortion. Space telescopes are above the atmosphere, so their images are sharper.