A big factor would be the reason you were let go in the first place. If it was a personal issue, explain how you have resolved it. If it was a company issue, explain how your employment would help resolve their problems. If you quit without notice, you may not have a good case for being hired back. Good luck.