Someone can both work towards rehabilitation and pay their 'debt to society'. If they earn over what it costs to house them in a Maine prison then, by all means, let them keep the excess earnings. If they earn $100k/year and the state pays them $1.35/hr then there are deeper institutional issues around prison labor exploitation which should be addressed.
I used to have an uncle who was constantly in and out of prison over drug-related issues and he would do all sorts of work programs just to break up the monotony. Ironically, none of these rehabilitation efforts did any good and what finally 'set him straight' was the Three Strikes Law.
Sounds like he gets out in 10 months, and an incredible amount of money gets spent keeping him there.
If the taxpayers were smart: a few US states worth of land would be converted into a Gaza like reservation, where the only guarantees and service are protection from invasion and suppression of any gang which gains a reasonable monopoly on violence. It's fenced, with security and ports of entry and exit. Citizens can come and go, outlaws can only come until status is restored or they leave the country (re-entry to be denied). Sentences become time there instead of fenced concrete camps. Now you have a mechanism to fix prison into a rehabilitative hospital and job training system, which is voluntarily elected in lieu of the outlaw badlands zone.
Why should the taxpayers be burdened by the results of his bad decisions?
/me takes off hat