Yes, the bonus is applied every time you pick up units from your training facilities. So units that were already sitting there ready to be collected will be influenced by the bonus effect. Feed first, then collect. The term 'unit production bonus' is a bit confusing, because it's basically a pick up bonus, not so much a production bonus.