Yes, of course you need your 2017 W-2 in order to file your tax return. ALL of your 2017 income must be included on your tax return. If you moved, then make sure the employer in your previous location knows how to provide your W-2 to you by giving them your new address.