You can, but in recipes like this, where simple and relatively few ingredients are used, I really prefer to use fresh dill. If you have to substitute, about 1/2 tsp would work.