I have learned the concept of improper integral and when it comes to the integral of an odd function, one needs to check the convergence of half interval first then if it converges, integral of total range would be $0$ e.g.
Here I have a question. Is there any function that it is odd, converges when it is integrated from $0$ to $\infty$ but diverges when it comes to the case of $-\infty$ to $+ \infty$?
No there is not.
To check if the integral of the function converges, you need to check that
$$\int_0^\infty \vert f\vert <+\infty.$$
Since $f$ is odd, if this value is indeed finite, you also have
$$\int_{-\infty}^0 \vert f\vert=\int_0^{+\infty} \vert f(-x)\vert\mathrm dx=\int_0^\infty \vert f\vert <+\infty.$$
So such a counter-example does not exist, since
$$\int_{-\infty}^{+\infty} \vert f\vert=2\int_0^{\infty} \vert f\vert <\infty.$$