The Mad Immortals of the Immortal Dao Court are vastly different from the Shadow Battle Guards of the Sword Immortal Tomb. The number of Mad Immortals is far fewer because every Mad Immortal is in the Dragon Emperor Realm!
However, the two share one common trait—neither lives long.
No matter the realm one reaches, lifespan limitations always exist. Lifespan limits exist in the Dragon Vein Realm, the Dragon God Realm, and even in the Dragon Emperor Realm.
However, the higher one's cultivation base, the longer their lifespan becomes.
The lifespan of someone in the Dragon God Realm is roughly several thousand years. The reason it's said to be "several thousand" is because it's not definite; it's only an approximation.
Some people may acquire extremely precious rare treasures to lengthen their lifespan, granting them additional years to live.
Others, due to various issues such as soul injuries or lifespan consumption, may live considerably shorter lives.