Yes
For a Class D, DJ Class, and Class E driver's license, the expiration date of your learner's permit becomes the expiration date of your driver's license. Together, the learner's permit and driver's license are valid for a maximum of 5 years.
If I want to get a New York driver's license, what should I do?
When you pass your driving test, you must submit your foreign driver's license to the DMV driving test examiner. The local DMV office will destroy your foreign driver's license after 60 days.