it depends on the purpose. if you're using it to your country (i.e. affidavit of support, special power of attorney, etc..) you may apply to your consular office.