In most cases, you can collect certain types of Social Security benefits if you retire or live abroad, but there are some exceptions. Here's what you need to know.