It is perfectly legal. A school has no obligation to have parent volunteers; since it chooses voluntarily to have them, it is free to put any restrictions on their activities that it chooses, including not letting them drive under certain circumstances.