How long do past presidents families receive secret service protection?

Until they die or refuse it. Also, their spouse is protected.