No, going to prison is not part of the process if you go bankrupt. Although there is such a thing as criminal bankruptcy this is very rarely seen.
Bankruptcy offers individuals that do not have any other real option of dealing with their debts with a legal method of getting out of debt.
If debts have been acrued via feckless behaviour such as gambling for instance then the terms and restrictions of a persons bankruptcy order can be extended for a maximum of 15 years.
Such extensions are refered to as either bankruptcy restriction undertakings or bankruptcy restriction orders. If a person breaks the terms of a bankruptcy restriction order then this is seen as a criminal offence and a custodial prison sentence may be possible.

