I agree. Definitely get legal advice and do nothing until you've got it. In particular, do not move out of the accommodation you are currently in. When you have an appointment to see a solicitor, sit down (perhaps with your daughter) and make a clear list of what you want to know. Take the list with you and write down the answers, as it is all too easy to get home and realise you did not get all the information you wanted. It could be a good idea to take a clear headed friend with you, not to say anything necessarily, but just to listen. Two heads may be better than one.
It's not clear from what you say whether you are in favour of the split? if you are, is there no possibility that you and your husband could sit down and come to an amicable agreement? It would be a lot cheaper than getting legal advice.