How such a thing might play out in the case of Jesus’ temporary death could be anybody’s guess. This is the King of the laws of physics Himself. At some point the decomposition would have to stop and the matter begin to knit back together in a way that wasn’t seen since the days of creation. It might not even qualify to be called a physical event, but something like a supra-physical event.
We may never know while here on this earth exactly what happened, but that is a part of life.