The reaction you get depends more on your employer than on how you quit.
My first job, I turned in a 2 week’s notice in person, but got so incredibly sick a week later at my sister’s wedding reception (I was barely 16 so I wasn’t drinking, I was just absolutely dripping snot like a faucet and was soooo nauseated) that I left early. I called in the next day and tried to reiterate that I was so sick I left my own sister’s wedding early and absolutely could not handle people’s food that day. My boss wasn’t hearing me and fired me over the phone halfway through my last 2 weeks.
I told my 2nd job I wasn’t moving back to my hometown after my first year of college, did it over text (edit for clarification: my old boss texted me to ask, and texting was our primary mode of communicatio—I didn’t just text her out of the blue with this information lol) with 2 weeks’ notice before the summer started(I think it might have been like 3 weeks actually, it’s been a while I don’t remember, all I know is I hadn’t decided whether I was moving back or not until the moment I had to directly answer the question LMAO), and it was totally fine.
In college, I quit both properly and improperly and both situations were okay with no one getting mad at me.
My first job outside of college fired me for giving a 2 week notice instead of longer notice. That boss was awful.
My most recent boss knew I was moving toward a career change and going back to school and all. We hired a replacement who I was training. We agreed on an end date together when renewing my contract for a 4th year. About 2 weeks later, I took accountability for a mistake that really was everyone’s fault collectively, and I was only given a week’s notice. I got severance but my boss told me my last day would be 1 week later.
If you really want a good recommendation, make sure you don’t burn bridges as you leave. In fact, that’s best even if you don’t care about their recommendation. You don’t want anyone to be able to say you were the bad guy.