Does word "room" have the same meaning in the following two sentences?

Room to pass.

There wasn't that much elbow room in the aircraft.
the same meaning