Prisons should be rehabilitative rather than simply punitive. We have Finland to thank for this idea. There, all prisoners start out in traditional prisons, but are then moved to "open prisons" with the intent of adjusting them to life on the outside again. Some move up sooner than others, depending on behavior. Open prisons do not have gates and are divided into dormitories rather than cells. The prisoners choose their own clothing (no uniforms), and do their own laundry. They also have their own bank accounts, do their own shopping, and plan and cook their own meals. While jobs are available at and around the prison, prisoners also have the option to work elsewhere.
Open prisoners are permitted to drive, use cell phones, buy and keep personal possessions, attend university in person, maintain friendships and romantic relationships with non-inmates, and even have overnight guests. For those without vehicles, each open prison has a weekly shuttle bus to the nearest supermarket. In short, they enjoy far more personal freedoms and independence than prisoners in any other country on Earth. They do wear tracking devices, but never any chains or shackles.
Open prisons are one of the many public benefits that have made Finland one of the world's safest, happiest, and least corrupt countries. Finnish prisons' "employees" are nonprofit social workers. All in all, their clear goal is to rehabilitate criminals rather than to punish and isolate them. A stellar example for countries the world over to follow!