You may want to have a consultation with a lawyer (often the first one is free or very reduced in fee) to make sure if you buy a house before you divorce that he doesn't get 50% of it. Also the consultation will outline for you parenting rights after divorce in your state.