Could I get pregnant?

I gave my boyfriend head and then a couple hours later he went in me for about 30 seconds before he came because it’s been a couple months due to long distance. He didn’t come in me. Could I get pregnant?