Yes, a group of people can quit at the same time. This is often referred to as a mass resignation or a walkout.