As far as I know this is not correct, as I resigned from my job 1 year ago, and still got the NOC without a problem...
It doesn't make sense that they can only provide you with NOC when they "fire" you...