I notified my boss 6 weeks prior to a class date and 2 weeks prior to recurrent that I was leaving. I thought it would be a little shady to spend all that money on training/airline tickets/hotels/meals for only a month of currency. I was naive in trying to do the right thing and really caused more trouble than necessary.
I offered to stay on as an SIC for 6 weeks but he let me go right then. I guess he took it personally that I wanted to leave, and there were lots of 500 hour CFI types SIC'ing for us anyway.
I ended up filing for, and being awarded, unemployment benefits. The bridge with that boss was definitely burned.
Maybe your situation would turnout differently, but I wouldn't handle my own situation that way again. I'd keep it professional and stick with customary norms. That was a ridiculous amount of drama over trying to go above and beyond for a company/business owner.