What this quote means that we have to behave good in order to be able to go out and have fun. For example, when I want to go out my mom always tells me to do chores and finish all my homework in order to go out. I also need to tell her one week in advance just so that she can keep an eye on me and know if I am behaving good or not.
This quote also works for prisoners. If they behave good enough they will be able to come out soon enough to their family. But, if they don't they wont be coming out soon.