There are two meanings to nirvana. One is the state of enlightenment attained by Sakyamuni after he eliminated all earthly desires. The other is the extinction of a Buddha’s body upon the coming of physical death. The idea behind these definitions is that the Buddha attained eternal life with the extinction of his body.
Introduction to the Lotus Sutra