Is it better to deploy a nuclear warhead on an asteroid after a deep crater impact, or a shallow impact?

Is it better to deploy a nuclear warhead on an asteroid after a deep crater impact, or a shallow impact?

It's sort of like Armageddon, but with less oil drills.