In general, no. If f has, for example, a singularity at x= b, where a< b< c, then [tex]\int_a^c f(x)dx= \lim_{\alpha\to b}\int_a^\alpha f(x)dx+ \lim_{\beta\to b}\int_\beta^c f(x)dx[/tex].
Those two limits have to be taken independently so you cannot cancel them.