If the commons were to emerge intact, it means all the debtors and creditors were fully satisfied as to what they were owed.
If that were to happen, it means the Company had no need to file for bankruptcy in the first place. And, if they did file, the court would not have granted the relief.
In the vast majority of public company bankruptcies, the existing common stock is cancelled. Among the others, the common shareholders will always take a haircut of one kind or another. And usually they end up damn near bald.