Where are you living now? I think you should make thorough enquiries about financial matters before doing anything irreversible. You don’t say how long you have been away, but the UK has changed a lot over the past decades. There is no longer an obligation for the council to house you, and we now have older people sleeping rough.
If you have not contributed to a UK pension, it is unlikely that you will get one, and in any case, even those who have contributed now have to wait until 66 or 67. You probably won’t get any benefits, either, and you would be expected to work, at least for 6 or 7 years. If you emigrated recently, and paid NI before you left, you might have some entitlements, but probably not for very much.
If you have no income, which suggests that you are not getting a pension from the country you live in either, I would take legal advice about what you are entitled to take from the marriage, and find out whether it would be enough to buy accommodation or cover the rent until you can sort out an income. If so, it will be scary, but starting again can be done.
It’s not a good position to be in, and I’m sorry that you facing this. You are not a failure, but the system is very inflexible these days.
Is there any way you could leave your husband and stay where you are living now?