Refer to the IT-40 Income Tax Instruction Booklet, which is posted with the current year tax forms. You should also refer to the guidelines for your other state(s) of residence.
Contact DOR if you have additional questions about your specific circumstances.