The direct product/sum$^\dagger$ and tensor product of two vector spaces $V$ and $W$ are not the same, though they look similar on the surface. The correct terminology is given by Wikipedia; we describe composite spaces as tensor product spaces, not direct product/sum spaces.
From a mathematical perspective, the difference is crucial. States in a direct product space are all so-called "product states", while the same is not true in tensor product spaces. This freedom gives rise to states which we call entangled in physics. However, from a terminology perspective, you will come across many physicists who say direct product when they mean tensor product. It's an unfortunate bit of linguistics, but what can you do?
The direct sum of $V$ and $W$ is denoted $V\oplus W$, and consists of all ordered pairs $(v,w)$ where $v\in V$ and $w\in W$, equipped with vector addition and scalar multiplication defined as follows:
$$(v_1,w_1) + (v_2,w_2) = (v_1+v_2,w_1+w_2)$$
$$ \lambda (v,w) := (\lambda v, \lambda w)$$
Critically important is the fact that for any $x\in V\oplus W$, there must be some $v\in V$ and some $w\in W$ such that $x=(v,w)$.
The tensor product of $V$ and $W$ is denoted $V\otimes W$, and is really a different beast entirely. $V\otimes W$ consists of all ordered pairs $(v,w)$ and all linear combinations thereof, equipped with the following rules:
$$(v,w_1+w_2) := (v,w_1)+(v,w_2) \quad \text{and} \quad (v_1+v_2,w):=(v_1,w)+(v_2,w)$$
$$\lambda(v,w) := \underbrace{(\lambda v,w) = (v,\lambda w)}_{\text{defined to be equal to one another!}}$$
Let's take a quick, concrete look at how these spaces are different. Let $V = \mathbb C^2$ and $W = \mathbb R^3$, just for fun. The following operations correspond to the direct sum $V\oplus W$; for notational convenience, I will write $(v,w)$ as $v\oplus w$.
$$\pmatrix{i\\1}\oplus\pmatrix{2\\2\\3} + \pmatrix{0\\2i} \oplus \pmatrix{-1\\0\\1} = \pmatrix{i\\1+2i}\oplus\pmatrix{1\\2\\4}$$
$$ 6 \pmatrix{2i\\-1}\oplus\pmatrix{1\\-1\\2}= \pmatrix{12i\\-6}\oplus\pmatrix{6\\-6\\2}$$
Now we'll consider some similar operations with the tensor product space $V\otimes W$, where now I'll write $(v,w)$ as $v\otimes w$.
$$\pmatrix{i\\1}\otimes\pmatrix{1\\1\\2}+\pmatrix{i\\1}\otimes\pmatrix{-4\\2\\0}=\pmatrix{i\\1}\otimes\pmatrix{-3\\3\\2}$$
$$\pmatrix{0\\i}\otimes\pmatrix{1\\0\\0}+\pmatrix{i\\0}\otimes\pmatrix{0\\0\\1} \text{ cannot be combined or simplified!}$$
$$3 \pmatrix{1\\i}\otimes\pmatrix{2\\1\\0} = \pmatrix{3\\3i}\otimes\pmatrix{2\\1\\0} = \pmatrix{1\\i}\otimes\pmatrix{6\\3\\0}$$
My professor's notes say that for the direct sum, V and W should not have any common vector except the zero vector. $\mathrm{dim}(V\oplus W)=\mathrm{dim}(V)+\mathrm{dim}(W)$.
In what I showed above, I started with two vector spaces $V$ and $W$ and constructed $V\oplus W$, which consists of pairs $(v,w)$ equipped with pairwise addition and scalar multiplication. There is no condition whatsoever on $V$ and $W$, and in particular they can even be the same space.
However, let's go in the other direction. Let's say you have a big space $V$ and two subspaces $W_1,W_2\subset V$ such that for all $v\in V$, we can find unique $w_1\in W_1$ and $w_2\in W_2$ such that $v=w_1+w_2$. If that's true, then every pair $(w_1,w_2)\in W_1\oplus W_2$ corresponds to one and only one $v\in V$, given by $v=w_1+w_2$. Therefore, $W_1\oplus W_2 \simeq V$, where $\simeq$ means that they are isomorphic as vector spaces.
Now, $V$ and $W_1\oplus W_2$ are formally different spaces - the former consisting of individual vectors, and the latter consisting of pairs - which are in one-to-one correspondence. However, it's not too big of a leap to simply identify them with one another, and view $(w_1,w_2)$ and $w_1+w_2$ as being the same thing. Therefore, we informally drop the term "isomorphic" and simply say that $V=W_1\oplus W_2$.
So rather than starting from two vector spaces and constructing their direct sum, we started from one vector space and split it up into a direct sum of subspaces. Now, we can only do this if the splitting $v=w_1+w_2$ is always unique, and it's not too difficult to show that this requires that $W_1\cap W_2=\{0\}$ and nothing else. That's what your professors notes are referring to.
$^\dagger$For finite numbers of vector spaces, the direct product and direct sum are the same thing. For an infinite number vector spaces e.g. $\bigoplus_{n=0}^\infty V_n := V_1\oplus V_2\oplus V_3 \oplus \ldots$, these constructions differ slightly, but I'll ignore that for now.