I am a resident of MD but worked and lived for 5 months in Arizona. Do I file AZ income in AZ or MD?