A vacuum is a bit of space with nothing present in it. An example of a vacuum is a space with nothing in it.
By the definition of vacuum, the temperature must be zero. But according to the third law of thermodynamics, there can’t be zero temperature. Therefore, it can be said that there is no perfect vacuum, and if there is a perfect vacuum, then the temperature would be zero.