Resident -Your permanent home is or was in Maryland (the law refers to this as your domicile). OR your permanent home is outside of Maryland, but you maintained a place of abode (that is, a place to live) in Maryland for more than six months of the tax year. If this applies to you and you were physically present in the state for 183 days or more, you must file a full-year resident return.
Nonresident - Your permanent home (domicile) is in a state other than Maryland, unless you are a statutory resident.
Statutory resident - You maintain and occupy a place of abode (that is a place to live) for more than 6 months of the tax year in Maryland.
Part-Year Residents - If you either established or abandoned Maryland residency during the calendar year, you are considered a part-year resident.
For more information about residency, see Administrative Release No. 37 - Domicile and Residency.
For further information on how to file, see the links below.