Yes, when two surfaces rub together in outer space, there will be friction. Friction is a surface effect and doesn't depend upon there being air. There is also a force like air resistance from the very sparse gas in space, but it will be very, very small, since space is a very good vacuum.