O2 is needed to allow the energy conversion processes in our muscles. CO2 is produced as a result of energy being converted/produced by our muscles.
But most definitely yes, If I'd had better general conditioning and preparation along with rest prior to the ride, the transport mechanisms in the muscles and body will have been better tuned to get rid of the CO2.