A divorce abroad is not automatically recognized by the German authorities. The citizen service (“Bürgerservice”) answers your questions regarding foreign divorce orders on the webpage of the Ministry of Foreign Affairs.
Information by the Bürgerservice on foreign divorces (in German)
In addition, the webpage of the Senate Office for Justice Berlin contains further information in this regard.
Information by the Senate Office for Justice Berlin (in German)