The refractive index of a medium is calculated by dividing the speed of light in a vacuum by the speed of light as it propagates through another medium.
So the refractive index of a vacuum = 1 because the speed of light in a vacuum is divided by the speed of light in a vacuum = 1.