Answer
False.
Work Step by Step
Take as an example $\frac{1}{x}$, $y=0$ is a horizontal asymptote:
$\lim\limits_{x \to \infty} 1/x=0$
Here $p(x)=1$ and $q(x)=x$, therefore they don't have the same degree and yet have a horizontal asymptote.