Please see this
Public Fund note for EEA nationals and their Non-EEA family member.
If your husband is working (EEA perspective or Self employed) and you are working too, you are able to claim benefit, eg Tax Credit and this will not affect your residency.
If your husband is claiming to be self-sufficient and still claiming benefit, the HO will need to assess whether or not he is an unreasonable burden to the social fund system, before curtailing his residency.
You are considered a family member under EU law, up to the time the divorce absolute is issued. Therefore your separation will not have an effect on your residency, provided he is still exercising treaty rights and resident in the UK.