Legal separation?

I am contemplating divorcing my husband, but there is a lot to think about and look into. First question right now having listened to the the videos is what qualifies as a legal separation? I heard it to be no sex for a year, but suppose you are both still residing in the same house, due to financial issues. Does that count or complicate matters?

You must be living separate and apart (in different residences) for one year before an action for absolute divorce can be filed. The absence of sex alone is not enough.