Cockpit was the term used to describe where pilot and copilot operated.
With the introduction of God (the
Flight Engineer)

into the work place the more eloquent phase of
Flight deck was introduced.
So the term cockpit should be used today for two man operated aircraft