You're thinking of RSA, where the RSA public key n is the product of two primes p and q. There is no such requirement for ECDSA.