That will never happen.
Prisons make better criminals. Unless you can toss everyone in there and throw away the key, most people who get out of prison will not be good upstanding citizens.
There are also horrible people out there that never wind up in prison.
The system we have is based on deterrents. Do X crime do X time. If it isn't fair, at least it tries to be consistent.
Your ideal system is entirely arbitrary.