No, it is not absolutely necessary to discharge the battery of your electric before starting a charging process.
In fact, current lithium batteries can receive small partial recharges without damaging the charging capacity.
Nowadays, most of the electric ones allow you to make small partial recharges.
By doing so, the recharge time can be drastically reduced.