It's less of an issue since the US, Japan, and parts of Europe stopped having a military draft. That was the big obligation of citizenship. At the beginning of WWII, there were people who got draft notices from both sides. To fight for either side was treason to the other.