In NP: given a factor, check it.
In coNP: give prime factorization.
Nor is it known whether it's NP-complete, which is usually what people intend when they informally speculate whether something "is NP" or "is in NP" (yes I know that's wrong and nearly backwards, but it's still common).
It's conjectured to be NPI (NP intermediate), but that's only a conjecture.