This is slightly off topic, but if you are in a situation where you might resign close to when you get the bonus, you can ask the new employer for a hiring bonus to make up for the bonus you won't get. Or you can ask them if you can delay your start date so that you can give notice after receiving the bonus. You have to do this at the start of the negotiation though, not after you have agreed to the terms.
Resignation Date - the date you will cease employment with the company. The day before that is your last working day. (ex. Resignation July 8; Last working July 7)
Notice Period - no of days for turn over; based on your company policy. Meaning you should hand out your resignation letter ahead of time. (ex Resignation is July 8, notice period is 30days. Then, your submission of resignation must be on or before June 7. Note here that your June 7 is the start of notice period of 30days.