If the power or shields fail when the airshields are in use, will it cause sudden decompression?
Cloud Imperium
Yes, losing your airshields while in space would have the same effect as a hull decompression event. (Of course, fully losing power would also cause many other problems for a ship in flight!) Note that the cockpits are sealed from the rest of the ship, so it would be possible to continue flying despite damage to the barracks area.
starfarer.space · Q&A: Esperia Prowler - Part II