I have two different W2's from the same employer. I lived in IL and worked in WI for all of 2017. Do I enter each W2 in separately, and file for both states(WI and IL)?

All the numbers are different.  It is split 'about' 3/4 of my salary for the state of IL, where I live.  1/4 for state of WI, where I work.  Same EIN, name, company and everything, just different numbers and states.  I'm curious if I need to file for each state even though I've only lived in IL? Also do I enter in two different W2's?