It certainly looks useful, since the magnitude \(g\) looks like a much easier expression than
\begin{equation*}
\frac{GM_B}{r^2}
\end{equation*}
Most of the physics you will think about takes place near the surface of the Earth, so it is going to be reasonable much of the time. The most obvious limitation is how far you are from the surface of the Earth, which will limit how accurate the approximation is. Additionally, if you are near the surface of an object other than Earth, the gravitational field would still be uniform, but you would need to calculate the magnitude of the field for that object.