Like anyone, you must have 40 qualifying credits, approximately 10 years, to earn Social Security benefits. Green card holders who pay into the system may qualify for their benefits, just like anyone else.