Will you go to jail if you get cydia?

No, but if you use an illegal repository, you can go to jail