But then you can't jail everyone. That's where you stop living a lie and adapt laws to reality.
A system of prison-labour combined with house arrest or curfews - if you look at it from a government perspective it is possible to imprison everybody.
I suggest you spent some time reading about oppressive governments before you state you can't do it.