Is the word "building" used in the same way in the following two sentences?

My sister lives in that apartment building.

There was a three-story building on the corner.
the same meaning