"So why did he say I didn t have to leave when I asked him what he would prefer?" - Per your other post about this, I believe you said it was because he wanted to help you out until you could financially support yourself ("He said I can live with him after the divorce until I can financially support myself"). Clearly he doesn't want to be ugly to you, he just doesn't desire to be married to you any longer. Understand that if you two remained living together after the divorce, you'd both be dealing with seeing each other dating other people and having separate social lives. That might not be conducive to healing from the end of your marriage.
Also, you might not have to leave the home at all. The judge may decide he needs to leave (unless you agree to leave at some point). You both have rights to the marital home, so you aren't obligated to leave at any point, unless you want to OR a judge orders you to. Same goes for your husband.