If one spouse removes themselves from the home for at least 12 (uninterupted) months. OR if the marital relationship ceases while still living together (no intimacy) for a year.
Abandoned what? Kids? Property? Pets? The Maryland State Revised Code is available online. You can review it for information more specific to your question.