In most states, an actual physical separation is a required element of a divorce. Typically, divorce courts require a husband and wife to establish separate residences, although courts do give a bit of consideration to extreme circumstances.
Questions like this and other life and family considerations are detailed in the overviews and instructions contained within Standard Legal’s No-Fault Divorce legal forms software.