BUT you can always apply for them while abroad in a true emergency. You aren’t going to be stranded indefinitely in a foreign country.
Last year, while on a cruise to the Carribbean, my uncle tripped, fell, and hit his chin on a curb. It instantly broke his neck. He was rushed to the hospital, then medevac-ed home, while on a ventilator, to Boston the next day. His 78 yo wife was with him.
Yes, this is an extreme example, but I'm glad she wasn't having to worry about paperwork for her in the middle of all that. And not trying to scare the OP, just stating that life takes turns you never expect.