It depends on how your state defines marital property. If you are legally separated, then in most cases you should be okay. However, if you plan to use any marital funds to purchase the house, then your husband will probably be entitled to a share.
I wouldn't buy the house until after your divorce, or until you have consulted an attorney in your area.