If you are active military and your state of legal residence is Alaska, then that is the state that you enter as your state of residence. Where asked if you made money in any other states you answer NO, if your military pay is your only income. Where asked if you lived in any other states you answer NO.