Tl;dr: NO
Two matrices $A, B$ which are individually non-null matrices, can still be multiplied to give a null matrix. For eg., for your specific problem, we’ll consider $2\times 2$ matrices. Let $$A=\left[\begin{matrix}1 & 1\\ 0 & 0\end{matrix}\right], B=\left[\begin{matrix}1 & 2\\ -1 & -2\end{matrix}\right]$$ so multiplying gives us $$AB=\left[\begin{matrix}0 & 0\\ 0 & 0\end{matrix}\right].$$ However, note that $$BA= \left[\begin{matrix}1 & 1\\ -1 & -1\end{matrix}\right]$$ and this just shows that matrix multiplication is not commutative, i.e. $AB=BA$.
______________________________________
However, if $AB=O, \ \text{but}\ A,B≠O,$ then we can say that $\det(A)=\det(B)=0$, i.e. both matrices are singular. To see this, note that if any one of them (say A) is non-singular, then its inverse must exist, so we have $$A^{-1}AB=A^{-1}O$$ so we get $B=O$ which is contradictory to our hypothesis that $B≠O$. Thus, extending a similar argument to $\det(B)$ we get that $\det(A)=\det(B)=0$.