An accessory, either before or after the fact, may, whether the principal felon be convicted or not, or be amenable to justice or not, be indicted, convicted, and punished in the county in which he became accessory, or in which the principal felon might be indicted. Any such accessory before the fact may be indicted with such principal or separately.