Essentially the work must be done before you travel out to the US. So you need to have a license in your home country and also establish an IDP in your country before the travel process ever begins. The IDP was established by the United Nations as a sort of universal way to help people travel overseas and in other countries. I believe it's much the same as if you were a US citizen traveling and driving in another country.