US is self-efficient due to the size of the Country. It is effectively the size of the whole of Europe and with the plans of the European Superstate going ahead, Europe can be self-efficient as well.

As for Rory's comment, they wouldn't be countries, they would be states and wouldn't close their borders. If WW3 happens, we won't even be alive as Earth would be dead in a nuclear winter.