tracy1962
We can't answer the questions you're posing. We don't know where you live (eg Scotland, England, Wales or elsewhere in the world), where you were married, how long you've been married, whether you have DCs, how long your husband has not been earning, whether you have always been the main breadwinner and your relative earnings before he was out of work, what you each acquired in the way of assets before the marriage started and, perhaps, through bequests etc, your respective pension funds ...and so on.... and so on.
And that's just the pure money side.
Please, please get some proper legal advice on the matter. If you want to do some preliminary reading try
\link{https://www.gov.uk/money-property-when-relationship-ends\english property}
\link{http://www.adviceguide.org.uk/scotland/relationships_s/relationships_relationship_problems_s/ending_a_marriage_scotland.htm\scottish property}
but these are just very simple initial guides to have a look at.
I realize that if you're thinking of ending a long relationship it's a very large thing to do but you have to start somewhere. We are not best placed to advise you on the detailed legal and financial aspects.