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

Pottery was his life.

He appointed himself emperor for life.
different meanings