Under most circumstances, family coverage remains in effect as long as a couple is married, even if they choose to live separately pending finalization of their divorce. Of course your spouse does have the option to switch to an individual or an individual with children plan, but usually such changes are allowed only during open enrollment periods. If you are covered under your spouse’s medical insurance, make it a point to be aware of the open enrollment dates for that plan and use the interim time to investigate all your options to find the coverage best suited to your health and your finances.
To get an idea of what alternative coverage is available to you read the Forbes.com article, “What You Need To Know About 3 Key Options For Health Insurance After Divorce.”