There is always a moral tension. Is a prisoner always expected to sacrifice all, for everything?
Legally, a prisoner should be considered a non-citizen. When he gets out, he should have to earn his way into society, including taking citizenship tests.