Very weird that I am so old and have literally never heard this mentioned in a TV show or book or movie or anything.
In four out of five states, if you go to prison, you are literally paying for the time you spend there.
As you can guess, this results in crippling debt as soon as you're released.
The county gets back a fraction of what they hold over your head the rest of your life until you commit suicide(or die naturally and peacefully with the sword of damocles hanging over your head).
$20-$80 a day according to Rutgers.
Counties apparently sue people and employ wage garnishment to get back the money that majority of people obviously cannot pay back.
Might be somewhat acceptable if a job was available while in prison to support these living expenses. That at least might improve confidence and start the rehabilitation process.
Oh wait, who am I kidding. Prison has nothing to do with rehabilitation.