Termination or resignation?

Hello everyone. I am waiting on an admin hearing now and I just submitted my notice to explain because client is unhappy of my performance for the previous weeks. I have a feeling that I will be terminated soon.. Is it better na unahan na and mag pass ng resignation letter kesa ma terminate? I am thinking na mas mahirap mag hanap ng next job if terminated sa previous work.