Free will in theology is an important part of the debate on free will in general. Religions vary greatly in their response to the standard argument against free will and thus might appeal to any number of responses to the paradox of free will, the claim that omniscience and free will are incompatible.
The theological doctrine of divine foreknowledge is often alleged to be in conflict with free will, particularly in Calvinistic circles: if God knows exactly what will happen (right down to every choice a person makes), it would seem that the "freedom" of these choices is called into question.
This problem is related to the Aristotelian problem of the sea battle: tomorrow either there will or will not be a sea battle. According to the Law of excluded middle, there seems to be two options. If there will be sea battle, then it seems that it was true even yesterday that there would be one. Thus it is necessary that the sea battle will occur. If there will not be one, then, by similar reasoning, it is necessary that it will not occur. That means that the future, whatever it is, is completely fixed by past truths: true propositions about the future (a deterministic conclusion is reached: things could not have been any other way).
However, some philosophers follow William of Ockham in holding that necessity and possibility are defined with respect to a given point in time and a given matrix of empirical circumstances, and so something that is merely possible from the perspective of one observer may be necessary from the perspective of an omniscient. Some philosophers follow Philo in holding that free will is a feature of a human's soul, and thus that non-human animals lack free will.
Jewish philosophy stresses that free will is a product of the intrinsic human soul, using the word neshama (from the Hebrew root n.sh.m. or .נ.ש.מ meaning "breath"), but the ability to make a free choice is through Yechida (from Hebrew word "yachid", יחיד, singular), the part of the soul that is united with God, the only being that is not hindered by or dependent on cause and effect (thus, freedom of will does not belong to the realm of the physical reality, and inability of natural philosophy to account for it is expected).