A location change on its own doesn't remove or alter existing leave balances. But since leave rules and "Who can apply" eligibility can be configured per location, moving an employee to a new location may change which leave types they're eligible for and how future accruals are calculated — it won't touch what they've already been credited or already taken.
Note: If you're moving employees between locations with different leave rules, check the "Who can apply" configuration for each leave type (Leave → Configure → Leave Rules) to confirm eligibility carries over as expected.