Yes, it's naive. If you are not prepared to spend a couple of months without a paycheck, it would be foolish to give notice now. Your manager and your colleagues are not your friends. Give notice after your receive your bonus. Leaving a job is not "screwing [someone] over". It's business. If they can't continue without you, then they weren't paying you nearly enough.