The hydrogen atom is analytically solvable in the Schrödinger equation
U(r) is the potential and the solution of the equation exists for all r. If the energy is positive it is a free electron and a free proton, if it is negative it has to be in a quantized state.