You mean Exit Clearence I am sure, you should apply a week before you leave to be sure you can collect it from your immigration office.