You can do that. There is "no-fault divorce" in Maryland, but to qualify you have to mutually agree to separate and then you have to wait for a full year before you can file your complaint for divorce.
If you have grounds though, like adultery or extreme cruelty, you don't have to wait.
Extreme cruelty may not be what you think it is though. Sure, the stereotype abused spouse with bruises and missing teeth is the victim of extreme cruelty, but did you know you could be the victim of extreme cruelty without a finger being raised against you?
You could instead have a disease.
In Maryland, if your spouse was infected with an STD and knew it, and slept with you anyway, without telling you about the STD, that is extreme cruelty.
And why not?
It shows an utter disrespect for your autonomy and your health.
You need a grounds for divorce in Maryland. An STD can be grounds.