The stat increase that can be applied by Rally Attack is considered a bonus.
Any 【Bonus】 on a unit, including bonuses, lasts until the start of that unit's next phase. If bonuses are acquired during the enemy phase, they will disappear when the next player phase begins.