Sure you do. They have windows which are designed to open for emergency evacuation. Pilots need to evacuate too!But you generally don’t have them in the cockpit do you?
Only if it can be accidentally opened. I think it's reasonable to assume it has adequate safeguards.And, a spaceship isn’t an airplane. A section of the wall that just can be opened in a spaceship is a spectacularly bad idea.