Retention bonus is a misnomer, they are usually paid at the END of the period that they apply to.
It is actually another sign on carrot with the wrong name, knowing that most will spend it and therefore are far less likely to leave before the end of that term because of the difficulty in finding that money again to leave.