In order for one to hear sound it must travel through air (gas particles) of which space has very few per cubic centimeter. Sound can only travel through a solid, liquid or gas. Space being an almost perfect vacuum does not allow sound to travel and be heard by the ears. Sound is vibrations of air particles, so any “sound” that is heard in space has to come from other means such as from the electromagnetic spectrum and these waves are not sound.
Astronauts can however, talk to each other as if they were on Earth only when they are in their space ship. Here, there are enough air particles to vibrate and take the sound to their ear drum.