Home-buying spouse escapes creditors, risks investment

Is wife protected if her name is not on home title?