Maintaining a sufficient level of physical security to reliably confine violent criminals while also giving them a safe and healthy environment where they can thrive would be extremely expensive. It sounds great in theory, but most citizens wouldn't be willing to pay more taxes for it. (And yes I'm aware we could find the necessary funds by slashing military spending but realistically that's not going to happen.)