You can earn work credits in other countries, but you could face issues transferring your credits from that country to the U.S.