In Scotland you have occupancy rights which entitle you to remain in occupation of the matrimonial home whether it is a tenancy or owned property. It doesn't matter that the property is owned in your husband's sole name. In addition, if your husband is likely to behave in any way which would be injurious to your physical or mental health or that of your children you would be entitled to apply to the court for an exclusion order to exclude him from the house meantime while you're sorting out the divorce.