Does "piece" mean the same thing in these two sentences?

I need to rest for a piece.

She bought a lovely piece of china.
different meanings