"And when the graves are overturned," means: the dead within them will be brought forth.
﴿وَإِذا الْقُبُور بعثرت﴾ أُخْرِجَ مَا فِيهَا مِنَ الْأَمْوَاتِ