If you are going to e-file your return then you need to enter your 2017 AGI. If you are mailing in your return, you don't need to enter a 2017 AGI.
How do I find last year’s AGI?
https://ttlc.intuit.com/community/agi/help/how-do-i-find-last-year-s-agi/00/25947