You might be better served to pose this question to a county clerk in PA.
Generally, the answer is yes!
In most jurisdictions becoming a minister is even easier than online ordination or recognition by a certain denomination. It is in the constitution, religious freedom.
Thank you for your response. I went to the County Clerk with my ordination certificate to register and they said it was not necessary. My niece is getting married and because they do not attend a church anywhere, they already live together and just found out they are expecting, it was hard to find a pastor to marry them so I decided to get ordained online to try to help them. They just want to do the right thing and I just want to be sure it is legal.