If your permanent home where you always intend to return is in Maryland, and you have not set up domicile in another state (only there for temporary work assignments, didn't find permanent housing, didn't register to vote, etc) then you would file a NonResident return for Missouri and a Resident Return for Maryland.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"