If the target is illegal as Coronation of the Wilds tries to resolve, it won’t resolve and none of its effects will happen. You won’t draw a card, and since it failed to resolve, it will go to your graveyard rather than being exiled. You won’t be able to cast Keeper of the Crown later.