If the aircraft went into depressurization very quickly, you only have a few seconds before you lose consciousness, because you don't have any air to breathe at that altitude.
If the aircraft lost cabin pressure, either in the cockpit or the cabin, effectively everybody would be doomed within a short space of time.