Is the house in your husband’s sole name and if so, have you registered a Matrimonial Home Right Notice against the property before the bank took possession?
I can tell you now because you were living in the property with your husband, you were living in it with consent and hence, adverse possession doesn’t arise. In any event, adverse possession of a residential property has been a criminal offence since 2012.
Can I clarify anything else for you?
You may be able to make an equitable claim in respect of your contributions and improvements to the property over the years.
However you need to be very aware you do that, the bank could well come after you for the rent for the last 20 years if neither you nor your husband have been paying any mortgage. You haven’t mentioned that.