If I expanded all my movement, and Zephyr strike increase it by 30ft after my attack, can I finish my movement with the increased speed?

My character is a Ranger with the spell Zephyr Strike, which increase my speed by 30ft after the attack. If I used all my movement to reach the ennemy, can I use the increased 30ft to move away after my attack?