Pretty much what youngsky said.
The only time you wouldn't do that is if the question said EVALUATE the integral, where you would just do it normally.
But yeah that's the only case where you need to split the integral with x=0 being the split because it separates the positive and negative regions.