It depends on the job that you have, and why you were terminated. You will have to talk to your human resources department to find out what procedures may be available to you, as well as what alternative options you have.
It probably depends on the status of your termination. Some companies have a status " ELGIBLE FOR REHIRE? - Yes or No. It depends on how you were terminated and your status.
This is strictly up to your employer. Although nothing forbids them from re-hiring you, if they fired you, you must convince them that it will be different this time.