I work at a large international company as a software engineer. I'm part of a small specialized team of me and 3 electrical and systems engineers (I'm the software specialist of the team).
In two weeks I'll be taking two weeks of approved PTO, and two weeks after I get back (6 weeks from now), I'm planning to resign and move more than 1000mi (~1700km).
This is my first job (and will be my first resignation) so I tried to do some research here. After reading online, it looks like it's almost never a good idea to give more than two weeks of notice. However, I'm worried it might reflect poorly on me if I take two weeks off and get back and drop a letter of resignation on my boss. I'm on friendly terms with everyone around the workplace and I'm hoping to keep it that way in case this move doesn't work out and I have to ask for this job back.
Should I give my letter of resignation before I take my two weeks of PTO (more than a month before I'll be resigning)?
Edit: If I do end up handing in my resignation after the PTO, it will probably be on Monday or Tuesday (depending on when my boss is free) when I'm quitting the next Friday. Would that be enough for two weeks?