Assuming that the bottle and the soda inside it are both made of materials that do not significantly expand or contract with temperature changes, the volume of the soda bottle will not change when it is put in the freezer.
However, the soda inside the bottle may freeze and expand as it turns into ice. This can potentially cause the bottle to rupture if there is not enough space for the ice to expand within the bottle.
It's worth noting that soda typically contains dissolved carbon dioxide gas, which can affect the behavior of the soda as it freezes. The freezing process can cause the carbon dioxide to come out of solution and form bubbles, which can also contribute to the potential for the bottle to rupture.
To be safe, it's generally not recommended to put a sealed soda bottle in the freezer for an extended period of time. If you do decide to freeze a soda bottle, it's a good idea to open the bottle or at least loosen the cap to allow for expansion.