This isn't a spatial metaphor any more than "upperclassmen" and "underclassmen" are for high schools or "left" and "right" are for politics. We call it the "upper" chamber because it's supposed to be the higher status, more "dignified" chamber.
Words have histories of course, and probably at one point this was a spatial metaphor - maybe some bicameral legislature literally did have one of their higher status body on a different floor than their lower status body. But the words upper and lower when applied to the legislative branch have evolved since then.