Does ambient music need to be longform?

Can a 2 minute song qualify as ambient? What about 30 seconds?