It needs to be posetive to ensure the limit exists. For example, let $f(x) = -1$ and $[a,b] = [0,1]$ we then have that
$$
\int_a^b f(x)^n dx = \begin{cases}
1, & \text{for n even} \\
-1, & \text{for n odd}
\end{cases}
$$
which means it does not converge for $n\rightarrow \infty$ and you will have to take roots from negative numbers. For a formal proof of your question you can check this older question: Limit of $L^p$ norm
By the way if you are checking if the norm converges then your integral should look like this:
$$ \left[ \int_a^b \vert f(x)\vert ^n dx\right] ^\frac{1}{n} $$
and in this case $f$ does not need to be positive.