In order to be eligible to receive compensation for wrongful incarceration a person must:
(1) Have been convicted by the state of one or more felony offenses, all of which the person was innocent, and have served time in prison as a result of the conviction or convictions; or
(2) Have been incarcerated pretrial on a state felony charge, for at least two years through no fault of his or her own, before having charges dismissed based on innocence.