Is it a must that a nucleus must have opposite nature with the electron

1 answer

yes, of course. The binding energy for the electron depends on attraction from the nucleus (minus the repulsive forces from all the other electrons)