Yes, because the workers who go exploring will produce alarm pheromones that will give the other ants a sign to act and go find and help them.