No, it does not calculate the AGI for the prior tax year on the current tax year return.
See this TurboTax support FAQ for last year's AGI - https://ttlc.intuit.com/community/agi/help/how-do-i-find-last-year-s-agi/01/25947