This can be stated in active form. Alternate translation: "God opened the tombs and raised the bodies of many godly people who had died" (See: [[rc://en/ta/man/translate/figs-activepassive]])
Here to raise is an idiom for causing someone who has died to become alive again. This can be translated in active form. Alternate translation: "God put life back into to the dead bodies of many godly people who had fallen asleep" (See: [[rc://en/ta/man/translate/figs-idiom]])
The order of events is unclear. After the earthquake when Jesus died and the tombs were opened 1) the holy people came back to life, and then, after Jesus came back to life, the holy people entered Jerusalem, where many people saw them, or 2) Jesus came back to life, and then the holy ones came back to life and entered the city, where many people saw them.