Yes, non-US citizens are eligible as long as they have contributed to social security tax for at least 40 quarters.