The question is HOR, should say Montana. This means non-resident for MD. If your only pay is military, no need to file a MD return. However, if you have a side job or a spouse working in MD, then you need to file.
MD says: Military Personnel
Residents. Residents entering military service remain Maryland residents for income tax purposes, regardless of duty station state, until a change of legal residence has been made.
Nonresidents. Nonresidents stationed in Maryland must file if they have earned income from Maryland sources other than military pay.
Military spouses. The spouse of a servicemember may elect the same legal residence state as the servicemember. For more in-formation,
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"