What do you mean by "out of state"? Have you moved, or are you talking about having your lawyer file while you're on vacation?
Is your estranged spouse still in Maryland? If so, even having moved to a different state, you would likely be able to file in the spouse's county of residence.

