Interestingly, traditional friction from surfaces touching is pretty much nonexistent in the vacuum of space. However, spacecraft do experience a form of fluid friction when they move through thin gases or when re-entering Earth's atmosphere, which can generate a lot of heat due to air resistance.