"i only spent 10 days in jail and worked for them for 7 months "
Being absent from your job (other than with FMLA protection which doesn't apply to jail) is a valid legal reason to lose your job.
"so is this wrongfull termination"
No. Wrongful termination is when someone is terminated because of their age, race, gender, religion etc. Title VII reasons prohibited by law. Getting arrested and landing in jail is not protected by law.
"i cant file for unemployment till july 6th"
You may not be eligible for UI benefits. Some states consider getting arrested and jailed egregious misconduct and do no award benefits. It is very state specific and you should file.
"what i should do?"
Find a new job ASAP. Your employer did nothing illegal.
In the future please use proper sentences, capitalization, and punctuation. Your post is VERY hard to read without it. Also contain your post to one forum. Multiple posts aren't necessary and violate site rules.
"That's just my opinion, then again I might be wrong." Dennis Miller