I am not aware of a link between being terminated and an employer requesting a drivers license and social security card. I do not know any reason you would be required to present a driver's license and a social security card at the time of termination.
While an ID and Social Security Card are frequently required as a new employee, it would be unlikely that you need one in order to be terminated from employment. This issue would most likely governed by the laws specific to your state, so this answer is general.
This answer does not create an attorney client relationship. Claimants should contact local counsel for assistance with their specific cases.
It sounds like your employer forgot to verify your eligibility to work in the U.S., hwich is required for all employees; this is also known as an i9 form. They'll simply make a copy of these documents and tuck them in the their HR files in case they ever get audited. This has nothing to do with getting "fired" ... unless you lied on your application or presented false documents when hired.
Licensed in State and Federal courts of Florida, Michigan and Pennsylvania only.
No.....may have mordent do with completion of your employee file for ICE audit....showing proof of citizenship and right to work.
My answer is not intended to be giving legal advice and this topic can be a complex area where the advice of a licensed attorney in your State should be obtained. Please click "helpful" or "best answer" if my answer added any value or add a "comment" if you have more info for me to help you get a better answer.