Well you need a battery that will hold a charge to go without an alternator.
I can't say how long. It puts a lot of stress on the alternator, because the battery's voltage will plummet much more quickly than a good battery, and the alt will wear itself out trying to keep it charged. This also costs fuel economy.