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

The children were playing house.

She felt she had to get out of the house.
different meanings