Yes, once you complete the course you will receive a certification card that will be recognized worldwide. It doesn't matter that you aren't a citizen of the US.
If you want to go diving on your own, you need to have a certification card. Think of it as being similar to having a driver's license, except your certification card is issued by a dive training agency instead of the government. Once you successfully complete the training and hold a certification card, you will be permitted to sign up for a spot on a dive boat or obtain scuba tanks containing compressed air. By requiring a certification card for these activities, the scuba industry ensures that only those individuals that have completed at least the minimum level of training required to understand and avoid the risks associated with scuba diving are allowed to dive without the direct supervision of a scuba instructor.
Instructor Development Course Indonesia