In many cases, separation is not a good solution at all. I agree with the one who said that if you were to live separately, you would have to find a job and your children would be left alone, with at least as many risks as with your husband.
Here in France, several priests have recommanded separation even in far better situations, but it led to disasters. I know a man who is more or less a home aloner, and a priest advised her wife to leave him, for the spiritual welfare of her children; but she fell in adultery, probably because she was not able to deal with the absence of sɛҳuąƖ relationships.
Seriously, those priests have created disasters with their outrageous advices.
If your husband show pornographic movies to your children, then of course you must chose separation; but in the absence of such damnable sins, I believe you should not leave him.