Is a vacuum an absence of electricity?

No, a vacuum is an absence of matter.