A vacuum doesn't mean nothing. The so-called vacuum means that the molecular density is so low that it can be called vacuum. Although the matter in space is very thin, there is also matter, which is about a few molecules per cubic centimeter, so there is resistance in theory, but it is very weak.