You are legally not allowed to re-marry before divorce from your first spouse.
Otherwise your second marriage would be null, illegal and void.
You may be prosecuted for bigamy. And your second to be husband would also be liable to be prosecuted for adultery
(I won't say you can't!! because one can ...but one may not!!)
E.g. If you go to BMC and ask a permission to stall a 'slum/hut' on somewhere on sea shore at Bandra!! ............. BMS says 'You are not allowed' ...... But in fact without taking any permssion you always can!! if you are least bothered/rest assured of aftermath and the risks of doing so!!!
A railways passenger asks a TC whether he will be allowed to smoke in the boggie near the door at least!
TC say :- "You are not allowed"
passenger :- "Then what about these cigarette stubs on the floor?"
TC :- "It's because those people didn't ask me!!"
Jokes apart ........... Don't indulge into anything which is void in the eyes of law and does not hold any legal sanctity!!