After removing 1 electron from the sodium atom the ion formed acquires the configuration of inert gas, neon. The second electron is removed from one of the 2p-orbitals which are completely filled i.e., have a total of 6 electrons and are closer to the nucleus.