In Hindu law a marriage can be solemnized only once. There is no provision per se to marry twice before getting divorced.
Also, with reference to the context, is the marriage solemnized with prior two were as per the Hindu rituals, compulsory for validating the marriage like, saptapadi and homa? or whether the marriage was entered through the court? or the marriage was entered into with same or two different individuals . There might arise a situation wherein the marriage performed may be void due to non performance of certain rituals as has been observed and reiterated by the courts in similar issues in several of its judgments.
However, assuming that both the marriages were duly performed adhering to the rituals with two different individuals and as per the law; there is no provision wherein a HIndu can marry twice before getting divorced.