Depends, maybe 1-2 days maximum, but if i don't have money left, i'm sure i can stay without gambling up to 1 week. If i have some money, i can gambling everyday. I'm kinda addicted to gambling so it's a bit hard to not gambling when i had money in my pocket.
Once you have lose, you would surely stop or stay out. But addiction is different when it comes to gambling. You would repeat it again and again even you dont have enough money to buy food just to gamble. For me, as much as I could, I will stay away from it.