On the one hand i think it is wrong to send the parent to jail.
coz of the kids, surley there must be another way of making the kids go to school and still be able to see their parent, i.e if truancy is kept up with, then a weekly boarding school until the kids sort it out.
Time out from bad parents may influence the children into the right way about things at a young age. The bad parents are hardly likly to learn anything new, (cant teach an old dog new tricks),(not without a lot of hard work!) Take a look at prison offenders they generally go back and forth for most of their days. If you take the parent away then that is most likely the way the child will go also. Unless the child was traumatised into always doing things right from then on.
Shock treatment dont always work. Help is more the thing thats needed not punishment i conclude.
"You eat stuff you find in the catbox, you degenerate, pustule sucking, llama jumping, aberrant promulgator of an entomologist with carnal knowledge of cockroaches."