State tax filing

Basically it's a question of domicile.  Your domicile remains Maryland until you abandon it and establish a new domicile in another state or country.

 

Maryland has a very detailed memorandum on this subject:

https://www.marylandtaxes.gov/forms/Tax_Publications/Administrative_Releases/Income_and_Estate_Tax_R...

**Answers are correct to the best of my ability but do not constitute tax or legal advice.