What is that 5 years imprisonment law you are referring to here?
Are you both majors by age?
Firstly she has to quit her married life but she cannot file divorce case within one year from the date of marriage, she has to create grounds for divorce even after one year of marriage.
For the present if she is not willing to get along with the married life with him, she can file a petition seeking annulment of marriage on the grounds that her marriage was forced on her against her willingness.
She cannot elope with you quitting her matrimonial binding with her husband for this reason, he may file an adultery criminal complaint agaisnt you, and if you both get married without dissolving her previous marriage, then it can be termed as bigamy and the criminal charges under section 494 IPC will be framed against you.
Running away from the country with her to another country will not be a permanent solution.
Your marriage with her without divorce from her previous husband will not be recognised in any country across the globe.