Alimony

I AM 21 AND HAVE BEEN MARRIED FOR 3 YEARS, AND AM GETTING A DIVORCE. JUST CURIOUS HOW LONG I WOULD HAVE TO PAY ALIMONY. I HAVE HEARD THAT YOU HAVE TO PAY UNTIL YOUR SPOUSE RE-MARRIES BUT DIDNT KNOW IF THE FACT THAT I HAVE ONLY BEEN MARRIED FOR 3 YEARS MATTERS.