That's not true, the CO2 will gas off from the soda as long as the concentration of atmospheric CO2 is less than than of the dissolved CO2. A bottle of soda goes flat when left open whether you shake it or not. Shaking it will just gas off the CO2 faster.