If you have divorced in another country, and plan to remarry in your new country of residence, you will need to have that divorce recognised and inscribed in the civil registry of your new country of residence.
If the divorce took place in an EU state, a simple process is followed, however in the case of divorces outside the EU, a more complex process is required