My daughter was able to come home the day after they took her feeding tube out. They checked her blood to make sure her blood sugar levels were ok and made sure she was eating ok first.
Once the baby starts eating with out the tube about a day later. Actually, when mine was in the hospital they let him go home after a breathing test on a car seat.