I'll be honest, I don't know enough about the topic to really answer this. Some quick Googling suggest that this is what happens, though. According to this page, [0] many states restore your voting rights automatically after your sentence is completed, and some very liberal ones even allow for voting in prison (which in my opinion is really stupid).
> Don't you think rehabilitation means that a person fully integrates within society, including the benefits that provides?
I don't think that rehabilitation happens instantly, so it makes sense that voting rights be restored after a period of years. Felons need to prove that they can live in the real world again before they can vote to change it.
0: https://www.nonprofitvote.org/voting-in-your-state/special-c...
That's just the tip of the iceberg. What strikes me as an act of unspeakable cruelty is that people who have been in prison (felon) are no longer allowed to vote, and get the ability to work but below any kind of minimum wage. As soon as we start to treat people as non-human we enter a slippery slope (see Stanford prison experiment).
The only exception I am willing to make to that is people who are insane. But those end up in involuntary commitment.
And even those 2 examples I mentioned are also just the tip of the iceberg. There's so much wrong with our prison system (especially in USA). I did enjoy the series Orange Is The New Black because it highlighted some examples.