You mean the inheritance tax?
No, you can do this from any country in the world.
But you have to check if your country has a tax treaty with the US. And if it does, what it covers.
Because many countries have a tax treaty with them and would not need to pay inheritance tax anyway, so it's not...