If an EP holder loses their job, their EP will be cancelled. They have a 30-day grace period to either find a new job and have their new employer apply for a new EP, or to leave Singapore.