The 5 digit e-file PIN can be any 5 digits you select. They do not have to be the same from one tax year to the next, What needs to be accurate is the 2023 AGI from your 2023 federal tax return, Form 1040 Line 11. That is used for your electronic signature.