The correct punctuation places a comma between the city and state:
"You live in Philadelphia, Pennsylvania."
Rule: In a sentence, set off the state name with commas when it follows a city name (city, state). If the sentence continues, add a comma after the state: "You live in Philadelphia, Pennsylvania, and work in New Jersey."
No comma is needed between "in" and "Philadelphia" or after "Pennsylvania" if it ends the sentence.