Your snake could live indefinitly in that 20 Gallon Long. You could put her in a 40 long but be sure to have enough hides and vines to make her feel secure. She is going from her nice small secure house to a house that is twice as big. But IMO a 40 should be ok too jsut take some extra percautions.