My question involves marriage law for the State of: NJ

My spouse wants a divorce. I do not agree to it. He bought a house prior to marriage and I moved in. Now if we get a divorce, I am afraid I will have no place to stay. Does he need my consent to sell the house even though I am not on the title? I want to protect myself.