En español | Possibly, depending on which country you worked in. The United States has Social Security agreements with more than two dozen countries to address the special requirements of people like you.
These agreements help you qualify for Social Security by letting you pool your credits from both countries. They may also eliminate the need for workers to pay payroll taxes to both countries on the same wages — they pay into just one system.
When you're ready to apply for Social Security, call the Social Security Administration at 800-772-1213 and ask what information and documentation you'll need regarding your work abroad. Among other things, the list will include your Social Security number, the equivalent identification number from the other country and proof of age.