State tax filing

Thank you for answering, but how does that apply to the software? Do I run through the full process twice? One for new york as a resident, and then another time for NJ as a non resident, omitting the info that doesn't apply for either?