(a) Temperature is defined as the average kinetic energy of he partciles. In a vacuum, devoid of any electromagnetic fields and molecules or entities, the temperature cannot be defined as there are no molecules or atoms or entities.
(b) No, we cannot define temperature of a single molecule. Since temperature is defined as the average kinetic energy of the particles, it is defined only statistically for a large collection of molecules.