Depends on the usage of the word(s):
"I am taking my computer offline" is proper in that context.
"That pilot is flying way off line." is proper in that context.
I assume you are asking about the computer related term, and I would say that it is all one word. (as above.)