Yes
As long as you stay inside the sterile area of the terminal, no one will bother you or kick you out. If you do exit secuity, you will not be allowed back in until the checkpoints re-open for passengers at around 4am.
I work at PHL, let me know if you have any other questions and/or when you'll be here, if I'm working, maybe we'll meet up.