Filing (e-file) an Amended State Return with New Sate ID

Hello, We moved to NJ from NY in March 2024. We filed timely our 2023 federal and NY tax returns, but now we have to file an amended 2023 taxes including the NY state return.  I know that TT requires a state ID to file state taxes and we used our NY IDs to file 2023 returns. Question: can we e-file a NY amended state tax return with a new NJ state ID and new NJ address? Thank you,