Here is an illustration showing how to "calculate" +5 as the effective nuclear charge (Zeff) for phosphorus. We are not implying that the electrons are in orbits here, this is simply showing inner shell electrons that shield the outer valence electrons from the full nuclear charge.