Is 2 weeks notice optional?

So2 days ago I applied for a summer job and just yesterday I got and interview and then got the job. I start tomorrow, and I’m already scheduled for next week too, but I didn’t think id get the job so I didn’t give my 2 weeks, is it okay to just quit?