Pregnancy Test

Does it NEED to be first morning pee to be accurate? Is that required for all pregnancy tests or just certain brands? Will urine from later in the day really not be accurate?