Yes and if they fire you they owe you the notice period unless you sign something saying that you don't want the money. Sign nothing end of story.
Of course if you do something really stupid like steal, beat up the staff or customer, then they have the right to fire you immediately with no compensation.