Yes, so long as you've worked for at least 10 years (for those born in 1929 or later). Ten years is the minimum amount of time required to earn the mandatory 40 credits.
Even if you have accumulated your 40 credits, however, you can't start getting payouts until you're 62 or older.