The air would be cycled in your lungs until it turned into CO2, at least minute amounts trapped after your chest exploded from the pressure. What remains would longer long enough till you die.
You would still die from extreme temperatures and pressure exclusion. Radiation, starvation, dehydration, etc. may also play a significant role. Also, getting to space in the first place would be very hard...so your plan is quite flawed :)