Bankruptcy should not normally be considered as an easy option for dealing with debt, especially if you own your own home (even if there is little or no equity left in it). You can lose your home (even if it's in your wife's name - unless you have strong financial evidence to show that this is not to avoid the asset being seized). Your Bankrupty will be advertised in the local press, notification given to anyone financially connected to you, all accounts you hold will be closed and any future assets (insurance payouts, inheritances etc.) can be seized.
As for the period of Bankruptcy :-
New regulations for bankrupts came into force on 1st of April this year. Under the act most bankrupts will be automatically discharged after a maximum of 12 months, rather than two or three years as is currently the case.
At the same time, however, Bankruptcy Restriction Orders will be introduced to protect businesses and the public from bankrupts whose conduct is reckless, culpable or irresponsible. These will last for between two and 15 years and will impose restrictions on people obtaining credit of more than �500 without disclosing their status, trading in a name other than the one in which the bankruptcy order was made and acting as a director.
In short, it can take a long, long time to recover a normal financial standing and is not to be taken lightly. There are several agencies that can help but I would talk to Citizens advice in the first instance as many sites offering 'advice' are just thinly veiled, high-interest loan companies