Every family is different. Some prefer the more traditional woman at home caring for the family, others prefer two working parents. I don't think there is one highly preferable over the other as a whole, it depends on the individual man/family.
I personally chose the best of both worlds. I worked for awhile and then started freelancing from home so I can still earn a living and yet I am here for my kids when they need me. Every family dynamic is different. I think men value a woman when they recognize the importance of what she provides. Moms who stay home are equally as valuable as women who work. If a woman is providing love and sustenance to her family, caring for her husband and contributing to the whole unit, it should not matter if she works a "job" or not.