The person who files would be the plaintiff; practically speaking, it doesn't make much difference. The defendant often files a counter-complaint for divorce, making the plaintiff a "plaintiff/counter-defendant" and the defendant a "defendant/counter-plaintiff."

However, as the plaintiff, you would be responsible to provide the necessary courtroom testimony to support your divorce petition. If you don't show up and your ex-wife isn't willing to cooperate and provide the necessary testimony, the court may dismiss your petition. So you should be prepared to travel to Maryland for necessary court hearings.