If you change your surname after a divorce, your identity card will become invalid. In this case, you must apply for a new ID card if you do not have a valid passport document with the new name and are registered in Germany.