No, you don’t need to be divorced before you apply for a church annulment, they are separate processes. You do, however, need have a divorce and a church annulment before you are fully free to marry in the Catholic church again.

The Catholic Church cannot accept that a civil divorce alone frees the parties to enter a marriage, such freedom is only established if there is also a church annulment of the previous union.