To add a little bit more background in addition to Robert's answer:
The first thing to clarify is what you mean by "diverges". Like Robert, I think you mean "does not converge to a finite value". However, you can also ask your question with "diverges" in the sense of "diverges in the extended complex plane" (i.e., does not converge to infinity either).
Note that, if a transcendental entire function $f$ has a limiting value along a path to infinity, then this is called an asymptotic value. For example, $0$ is an asymptotic value of $z\mapsto e^z$.
So your question 1) can be asked, with the two variations above, as follows:
Is there a transcendental entire function having no finite asymptotic values? The answer is yes, for example take $\sin$ or $\cos$ (even more elementary examples in some sense than that of Robert). Furthermore, any transcendental entire function of order less than 1/2 has this property.
Is there a transcendental entire function not having infinity as an asymptotic value? The answer is negative: by a result of Iversen, there is always a path along which the function tends to infinity.
With respect to your question 2), as it is stated there is not much to add to Robert's answer. However, it may be worth noting that, if you are willing to be a bit more realistic with what you require on or near the boundaries, then almost anything is possible. A classical result that is very powerful is Arakelyan's approximation theorem. For example, it gives the following:
Observation. For any neighbourhood $U$ of the imaginary axis, there is an entire function $f$ with the following property. If $\gamma$ is a curve to infinity that does not intersect $U$, then $f$ tends to zero along $\gamma$ if $\gamma$ is in the left half-plane, and diverges along $\gamma$ if $\gamma$ is in the right half-plane.
Proof. By shrinking $U$, we can assume that $U$ is bounded by two Jordan curves through infinity, one in the left half-plane and one in the right half-plane. Then Arakelyan's theorem can be applied to $A:=\mathbb{C}\setminus U$; let $L$ and $R$ be the left and right components of this set. Define a function $g$ on $A$ by $g(z)=-\log z$ on $L$, and $g(z)=\log z$ on $B$ (taking any branch of the logarithm). By Arakelyan's theorem, there is an entire function $G$ such that $|G(z)-g(z)|\leq 1$ on $A$. Then $f(z):= e^{G(z)}$ is an entire function with the desired properties.
For some results on constructing entire functions with prescribed behaviour and good control everywhere in the complex plane, I refer to recent work of Chris Bishop.