My job is in NY, but I worked remotely in Maryland last year. Do I need to file MD state tax?

Hi all,

I work for a New York based company. I believe I'm considered domiciled in NY (I own a permanent residence), but during COVID all of last year, due to a family health issue I was living with my parents in Maryland. I have a few questions, if anyone would mind helping?

- Am I correct in thinking that I am considered a full time resident in New York, and need to file taxes as a nonresident in Maryland?
- TurboTax is asking me to "Enter the portion of this amount (federal return) that represents wages from Maryland sources". Since I was technically in Maryland all year, am I correct in thinking that my ENTIRE federal return would be considered Maryland sources? Or is Maryland sources considered income from a Maryland-based company?

Thanks in advance!
Cliff