This depends on the visa you hold while your application is pending. Further information requires advice from an experienced immigration attorney.