Earned Income Credit

I retired from the Marines after twenty years last year and now receive a pension only.  Am I entitled to get the Earned Income Credit?  It seems Turbo Tax is prompting me to use 2019's earned income to qualify.  Is this correct?  Am I entitled when I receive a pension only based on last year's earnings?