In general, you shouldn't keep it running in the background, because it will waste system resources.
You can identify how long the app was in the background by comparing the time between it suspending and resuming. So if you want to do something like increase the score depending on time passed, you can do it that way without the app always running in the background.