I often replace fresh herbs with dry herbs, and with most recipes that is not a problem. But in this case I don't think you can do it.
I would absolutely go for the fresh herbs in this case, and then find some other recipes with fresh rosemary and thyme. This way you can try more exiting...