Belz, you might want to read up on "dualism" for one possible explanation of the mechanism by which we might have free will. Essentially, it is the notion that we are more than the sum or our parts (i.e. some part of us is indeed extra-physical).
As I have said, dualism is irrelevant - the logic is not bounded by the physical world.
Simply stated, when one has acted of one's own free will, one could have done otherwise, and one was the ultimate source of the action. In order to be the ultimate source of one's action, some condition necessary for the action must originate within oneself (rather than externally).
(My empasis) Thanks - that's cause and effect at work. Internal / external makes no difference to the logic.