Not only does space have a temperature, but the mass and matter flying thru it have temperatures too. Temperature is another measure of energy. There are many many forms and therefore many many terms for energy.
We live and exist within a sea of mass and matter. The matter oscillates. This causes the near fields to flicker. These fields also wobble. When the oscillating fields interact, they cause more wobble. More wobble.....more temp. It causes the jiggling matter to jiggle more. In our sea of mass.....temp is all the field and matter wobble around us. Our skin senses the oscillation, jiggle, flicker and wobble of matter around us as temp. Normal use and definition.
But it's different in space. In space and elsewhere if desired, the temp of a particle can be related to it's kinetic energy or velocity. So, a proton from our sun(solar wind) would be cool, compared to a proton of a comic ray, which would be very hot, compared to the wind proton, because ii is moving much faster.
And in our sea of mass, all the field flicker is from near and connected fields. If I heat one end of a wire, it takes time, for the increased wobble to reach the other end. It's a connected transport of the heat and temp. But in space there is no connected fields....for no matter.
But anywhere within or around this cosmos is full.....(well not full, full meaning everywhere)but has a weak blanket of propagated(emitted) fields all thru it from every direction. This is called static. Modern science calls this quantum foam. And particles pop in and out of existence from it.(momentary superposition) These emitted fields, cris-crossing from all directions, superposition for short durations at various locations in space. Giving a small field measurement.......and that can be equated as temp.
If we could measure space at several diameters of the cosmos away, it would measure at absolute zero and there would be no static. Pure un-polluted emptiness. To infinity.